package com.zmn.oms.zmn.business.interfaces.wechat;

import com.zmn.oms.common.exception.OmsBaseException;

/**
 * 类描述： 处理扫码业务
 *
 * @author yule
 * @date 2020/6/27 16:28
 */
public interface WechatQrScanService {

    /**
     * 处理扫码业务
     *
     * @param orderId 订单Id
     * @param shopId  店铺Id
     * @param userId  用户Id
     * @param openId  用户openId
     * @param groupId 消息模板组Id
     */
    void processWechatQrScan(Long orderId, Integer shopId, Long userId, String openId, Integer groupId);

    /**
     * 获取微信公众号二维码url
     * @param orderId
     * @param masterId
     * @return
     * @throws OmsBaseException
     */
    String getWeChatQrCodeUrl(Long orderId, Integer masterId) throws OmsBaseException;
}
